<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/common/common.jsp"%>
    <script type="text/javascript" src="/static/js/studentmanagement/student.js"></script>
</head>
<body>
<table id="empdata"></table>
<div id="buttons">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-click="edit"/><a>编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-refresh',plain:true" data-click="refresh"/><a>刷新</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-view',plain:true" data-click="view"/><a>查看</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-transfer',plain:true" data-click="transfer"/><a>转班</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-die',plain:true" data-click="levae"/><a>休学</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-loss',plain:true" data-click="loss"/><a>流失</a>
    <a>班级</a><a id="keyClassName" name="keyClassName" class="easyui-combobox" data-options="valueField:'className',textField:'className',panelHeight:'auto',
                            url:'/grade/list.do'" name="class"/>
    <a>入学时间</a><a name="startDate" id="startDate" class="easyui-datebox"/>
    <a name="stopDate" id="stopDate" class="easyui-datebox"/>
    <a id="keyWord" name="keyWord" class="easyui-textbox" data-options="prompt:'关键字'"/>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-query',plain:true" data-click="query"/><a>查询</a>
    <a class="easyui-combobox" data-options="data:[
        {id:'moneyState',text:'所有',value:''},
        {id:'moneyState',text:'正常',value:'正常状态'},
        {id:'moneyState',text:'转班',value:'转班状态'},
        {id:'moneyState',text:'休学',value:'休学状态'},
    ],iconCls:'icon-add'" id="keyState"></a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-out',plain:true" data-click="out"/><a>导出</a>
    <a><form action="/export/importExportXLS.do"  method="post" enctype="multipart/form-data">
        <input type="file" name="file"/>
        <input type="submit" value="导入"/>
    </form>
    </a>
</div>
<div id="myDialog">
       <form id="tabsForm">
           <div id="tabs" class="easyui-tabs" data-options="width:580,height:330">
           <div title="基本信息" data-options="width:500,height:300">
               <table style="width:500px;height:300px" align="right">
                   <tr><td colspan="3"><a><font color="blue">基本信息</font></a></td></tr>
                   <tr >
                       <<input type="hidden" name="id"/>
                       <td>姓名</td>
                       <td><input class="easyui-textbox" style="width:80px" name="name"></td>
                       <td>qq</td>
                       <td><input class="easyui-textbox"style="width:80px" name="qq"></td>
                       <td>入学时间</td>
                       <td><input class="easyui-textbox"style="width:80px" name="admissionTime"></td>
                   </tr>
                   <tr>
                       <td>来源</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=source',valueField:'id',textField:'name',panelHeight:'auto'"
                                  style="width:80px"  name="source"></td>
                       <td>年龄</td>
                       <td><input class="easyui-textbox"  style="width:80px" name="age"></td>
                       <td>性别</td>
                       <td><input class="easyui-textbox" style="width:80px" name="sex"></td>
                   </tr>
                   <tr>
                       <td>电话</td>
                       <td><input class="easyui-textbox" style="width:80px" name="tel"></td>
                       <td>地址</td>
                       <td><input class="easyui-textbox" style="width:80px" name="address"></td>
                       <td>邮箱</td>
                       <td><input class="easyui-textbox" style="width:80px" name="email"></td>
                   </tr>
                   <tr>
                       <td>学历</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=eduBackground',valueField:'id',textField:'name',panelHeight:'auto'"
                                  style="width:80px" name="eduBackground"></td>
                       <td>学校</td>
                       <td><input class="easyui-textbox" style="width:80px" name="school"></td>
                       <td>专业</td>
                       <td><input class="easyui-textbox" style="width:80px" name="profession"></td>
                   </tr>
                   <tr>
                       <td>外语水平</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=foreignLangLevel',valueField:'id',textField:'name',panelHeight:'auto'"
                                  style="width:80px" name="englishLeval"></td>
                       <td>工作年限</td>
                       <td><input class="easyui-textbox" style="width:80px" name="workAge"></td>
                       <td>所在班级</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/grade/list.do',valueField:'id',textField:'className',panelHeight:'auto'"
                                  style="width:80px" name="grade.id" id="gradeId"></td>
                   </tr>
                   <tr>
                       <td>所在校区</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=campus',valueField:'id',textField:'name',panelHeight:'auto'"
                                  style="width:80px" name="campus"></td>
                       <td>客户类型</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=clientType',valueField:'name',textField:'name',panelHeight:'auto'"
                                  style="width:80px" name="clientType"></td>
                       <td>状态</td>
                       <td><input class="easyui-combobox"
                                  data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=state',valueField:'id',textField:'name',panelHeight:'auto'"
                                  style="width:80px" name="state"></td>
                   </tr>
                   <tr>
                       <td>营销人员</td>
                       <td><input class="easyui-textbox" style="width:80px" name="salesman.username"></td>
                   </tr>
                   <tr><td><a><font color="blue">缴费信息</font></a></tr>
                   <tr>
                       <td>总学费</td>
                       <td><input class="easyui-textbox" style="width:80px" name="totlMoney"></td>
                       <td>缴费状态</td>
                       <td><input class="easyui-textbox" style="width:80px" name="moneyState"></td>
                       <td>缴费方式</td>
                       <td><input  class="easyui-combobox"
                                   data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=size',valueField:'id',textField:'name',panelHeight:'auto'"
                                   style="width:80px" name="type"></td>
                   </tr>
                   <tr>
                       <td>已付学费</td>
                       <td><input class="easyui-textbox" style="width:80px" name="money"></td>
                       <td>还欠学费</td>
                       <td><input class="easyui-textbox" style="width:80px" name="owe"></td>
                       <td>最后付款时间</td>
                       <td><input class="easyui-textbox" style="width:80px" name="finalTime"></td>
                   </tr>
               </table >
           </div>
           <div title="私密信息" align="center" style="width:650px;height:300px">
           <table>
               <tr>
                   <td>
                       <input type="hidden" name="id">
                   </td>
               </tr>
               <tr></tr>
               <tr>
                   <td align="center">
                       <span>身份证号:</span>
                   </td>
                   <td align="center">
                       <input class="easyui-textbox" name="iDNum" style="width: 200px;height: 22px;"/>
                   </td>
               </tr>
               <tr>
                   <td align="center">
                       <span>紧急联系人:</span>
                   </td>
                   <td align="center">
                       <input class="easyui-textbox" name="emergencyContact" style="width: 200px;height: 22px;"/>
                   </td>
               </tr>
               <tr>
                   <td align="center">
                       <span>紧急联系电话:</span>
                   </td>
                   <td align="center">
                       <input class="easyui-textbox" name="emergencyTel" style="width: 200px;height: 22px;"/>
                   </td>
               </tr>
               <table style="width: 550px;margin-left: 50px;margin-top: 20px;font-size: 13px">
                   <tbody>
                   <tr>
                       <td>就业意向:</td>
                       <td><input name="employmentIntention" class="employmentIntention" type="checkbox" value="1">谷歌/微软或其它世界500强</td>
                       <td><input name="employmentIntention" class="employmentIntention" type="checkbox" value="2">BATJH国内巨头</td>
                       <td><input name="employmentIntention" class="employmentIntention" type="checkbox" value="3">上市公司</td>
                   </tr>
                   <tr>
                       <td></td>
                       <td>
                           <input name="employmentIntention"  class="employmentIntention" type="checkbox" value="4">有发展的IT公司
                       </td>
                       <td colspan="2">
                           <input name="employmentIntention"  class="employmentIntention" type="checkbox" value="5">拥有一份软件工程师职位
                       </td>
                   </tr>
                   </tbody>
               </table>
               <tr>
                   <td align="center">
                       <span>工作经历:</span>
                   </td>
                   <td align="center">
                                <textarea name="experience" id="experience" class="employmentIntention" cols="30" rows="10">
                                </textarea>
                   </td>
               </tr>
           </table>
       </div>
           </div>
       </form>
</div>
<div id="btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" data-click="submit">提交</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-no'" data-click="cancel">关闭</a>
</div>
<div id="btns2">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" data-click="submit2">提交</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-no'" data-click="cancel">关闭</a>
</div>
<div id="btns3">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" data-click="submit3">提交</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-no'" data-click="cancel">关闭</a>
</div>
<div id="lossDiv">
    <form id="lossForm">
        <table>
            <tr>
                是否退款<a class="easyui-combobox"
                       data-options="data:
                  [{id:0,name:'0',text:'是',},
                  {id:1,name:'1',text:'否'}],valueField:'name',textField:'text'
        " name="refund"></a>
            </tr>
            <tr><td>
                流失阶段<a class="easyui-combobox"
                       data-options="data:
                  [{id:1,name:'',text:'大神班',},
                  {id:2,name:'',text:'基础班'}],valueField:'text',textField:'text'
        " name="phase"></a>
            </td></tr>
            <tr><td>退款金额<a class="easyui-textbox" name="money"/></td></tr>
            <tr><td>
                退学原因<a class="easyui-textbox" name="info"/></a>
            </td></tr>
        </table>
    </form>
</div>
<div id="transfer">
    <form id="transferForm" style="margin-top: 10px">
        <tr><input type="hidden" name="id"/></tr>
        <table>
            <tr>
                <td>当前班级:</td>
                <td><a class="easyui-textbox" name="className"></a>
                </td>
            </tr>
            <tr>
                <td>转入班级:</td>
                <td> <a class="easyui-combobox" data-options="valueField:'id',textField:'className',panelHeight:'auto',
                            url:'/grade/list.do'" name="newClassName"></a>
                </td>
            </tr>
        </table>
    </form>
</div>
</div>
</body>
</html>
